package com.jic.point.model.entity;
import java.util.Date;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.math.BigDecimal;
import com.jic.point.model.entity.BaseEntity;
import lombok.NoArgsConstructor;
import sun.rmi.runtime.Log;

import javax.xml.soap.Text;

@Data
@NoArgsConstructor
@ApiModel(description = " conf_point_card_batch_apply ")
public class ConfPointCardApply extends BaseEntity{
	private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "主键")
    private Long id;

    @ApiModelProperty(notes = "积分卡类别")
    private Long cardSort;

    @ApiModelProperty(notes = "积分卡申请编码")
    private String code;

    @ApiModelProperty(notes = "名称")
    private String name;

    @ApiModelProperty(notes = "积分卡类型（1、权益卡；2、海星卡；3、定制卡；4、贵宾卡；智慧整套卡）")
    private Long type;

    @ApiModelProperty(notes = "采购类型(1、中心采购；2、产品线采购；3、渠道采购；4、平台采购；）")
    private Long purchaseType;

    @ApiModelProperty(notes = "一级需求ID")
    private String firstDemandCode;

    @ApiModelProperty(notes = "二级需求ID")
    private String secondDemandCode;

    @ApiModelProperty(notes = "有效期")
    private Date expiryTime;

    @ApiModelProperty(notes = "批次开卡数量")
    private BigDecimal totalNum;

    @ApiModelProperty(notes = "剩余积分")
    private BigDecimal leftPoint;

    @ApiModelProperty("平台名称")
    private String platformName;

    @ApiModelProperty(notes = "冻结数量")
    private BigDecimal frozenNum;

    @ApiModelProperty(notes = "剩余数量")
    private BigDecimal leftNum;

    @ApiModelProperty(notes = "积分卡面值")
    private BigDecimal pointCardLimit;

    @ApiModelProperty(notes = "总积分")
    private BigDecimal totalPoint;

    @ApiModelProperty(notes = "是否接口校验卡片(1、是；2、否)")
    private Integer isInterfaceVarify;

    @ApiModelProperty(notes = "图片1")
    private String img1;

    @ApiModelProperty(notes = "图片2")
    private String img2;

    @ApiModelProperty(notes = "图片3")
    private String img3;

    @ApiModelProperty(notes = "申请原因")
    private String applyReason;

    @ApiModelProperty(notes = "审批人ID")
    private Long auditorId;
    @ApiModelProperty(notes = "核审意见")
    private String auditReason;
    @ApiModelProperty(notes = "核审时间")
    private Date auditTime;
    @ApiModelProperty(notes = "核审状态 0待审核 1未通过 2 已通过")
    private Long auditSts;
    @ApiModelProperty(notes = "是否删除：0、待审核， 1、正常；3、作废 ")
    private Long sts;

    @ApiModelProperty(notes = "一审人id")
    private Long auditorOneId;

    @ApiModelProperty(notes = "一审原因")
    private String auditOneReason;

    @ApiModelProperty(notes = "一审时间")
    private Date auditOneTime;

    @ApiModelProperty(notes = "一审状态 0待审核 1未通过 2 已通过")
    private Long auditOneSts;

    @ApiModelProperty(notes = "存储积分卡张数和熟练的json格式的字符串")
    private String quantity;





}
